package com.dlc.garbagerecyclebox.callback;


import com.dlc.commonbiz.base.exception.BaseSerialPortException;
import com.dlc.commonbiz.base.serialport.CmdPack;
import com.dlc.garbagerecyclebox.bean.DeliveryInfoBean;

/**
 * @author :      fangbingran
 * @aescription : 投递回调
 * @date :        2019/06/06  11:25
 */
public interface GarbageRecyclerBoxDeliveryCallback {
    void onStart(CmdPack cmdPack);
    /**
     * 回调成功
     *
     * @param deliveryInfoBean
     */
    void onSuccess(DeliveryInfoBean deliveryInfoBean);

    /**
     * 摄像头识别
     */
    void photoRecognition(int number);

    /**
     * 回调失败
     *
     * @param
     */
    void onFailed(BaseSerialPortException dLCException);
}
